﻿/**
 * @author sminutoli
 * version 1.0
 * Es la ventana que va cargando las extensions
 */
import com.dinmax.flash.draw.common.*
import com.dinmax.flash.central.bridge.EXTENSIONBridge
 

class com.dinmax.flash.central.bridge.WINDOWCentralBridge
extends com.dinmax.flash.draw.cabeza.WindowCabeza {
	
	private static var LINK_ID:String = "Extension";
		
	public function drawItem(time:Date, type:String, description:String):MovieClip {
		var clip:MovieClip = super.drawItem(WINDOWCentralBridge.LINK_ID);
		//creo el área límite para nuestro clip
		EXTENSIONBridge(clip).setLimitArea(
			new Area(new Point(this.mcMask._x, this.mcMask._y), new Point(this.mcMask._x + this.mcMask._width, this.mcMask._y + this.mcMask._height))
		);
		return clip;
	};
	
}